﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MainTemplate.Master" AutoEventWireup="true" CodeBehind="ProofReaderConsole.aspx.cs" Inherits="AlexandriaPressWebsite.MasterPages.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainDoc" runat="server">
    <p><asp:Label ID="NotificationLabel" runat="server" Text="Label"></asp:Label></p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="formDoc" runat="server" Visible="True">
    <h1>Upload the drafts you've finished reviewing here</h1>
    <asp:Label ID="uploadLabel" runat="server" 
        Text="Please specify the file location" CssClass="label" 
        AssociatedControlID="fileUploader"></asp:Label>
    <asp:FileUpload ID="fileUploader" runat="server"  CssClass="fileUpload" />
    <br/> 
    <asp:RegularExpressionValidator ID="FilenameValidator" runat="server" 
        ErrorMessage="Filename may only have alphanumeric characters." 
        ControlToValidate="fileUploader" ValidationExpression="\w+.pdf" 
        CssClass="validator" Display="None" Visible="True"></asp:RegularExpressionValidator>
    <asp:Label ID="messageLabel" runat="server" CssClass="label"></asp:Label>
    <asp:Button ID="uploadSubmitBtn" runat="server" Text="Upload" 
        CssClass="formButton" onclick="uploadSubmitBtn_Click" />   
</asp:Content>
